Automattic\Jetpack\Identity_Crisis D

Total Complexity 131
Dependencies 10
Dependents 10
Total lines 809
Lines of code 416
Logical lines of code 221
Comment lines 279
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
validate_sync_error_idc_option()
A
51 15 24
get_mismatched_urls()
A
53 9 25
maybe_clear_migrate_option()
A
58 9 14
add_idc_query_args_to_url()
A
50 8 28
locate_wp_config()
A
57 8 17
get_sync_error_idc_option()
S
50 7 28
set_ip_requester_for_idc()
S
51 7 28
detect_possible_dynamic_site_url()
S
55 5 21
add_ip_requester_to_url_validation_response()
S
58 5 16
wordpress_init()
S
58 5 15
display_admin_bar_button()
S
50 4 28
check_response_for_idc()
S
57 4 18
normalize_url_protocol_agnostic()
S
59 4 14
check_http_response_for_idc_detected()
S
60 4 13
reverse_wpcom_urls_for_idc()
S
63 4 11
check_identity_crisis()
S
67 4 7
add_secret_to_url_validation_response()
S
61 3 12
__construct()
S
54 2 19
should_handle_idc()
S
66 3 8
url_is_ip()
S
67 3 7
maybe_update_ip_requester()
S
69 3 6
clear_all_idc_options()
S
61 2 14
has_identity_crisis()
S
78 2 3
register_request_body()
S
67 2 8
do_jetpack_idc_disconnect()
S
65 2 10
update_ip_requester()
S
68 2 7
init()
S
71 2 6
safe_mode_is_confirmed()
S
80 1 3
jetpack_connection_disconnect_site_wpcom_filter()
S
79 1 3
site_registered()
S
79 1 3